package cart.api;

import cart.model.order.OrderItem;
import cart.model.order.OrderMain;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by Roney on 2016/11/28.
 */
public interface OrderItemApi {
//    public Page<OrderItem> findOrderItemByGoodsId(String goodsId, Pageable pageable);

    public Page<OrderItem> findOrderItemByGoodsIdAndStatusAndIsDelete(String goodsId, List<String> statusList, Boolean isDelete , String organizationId,Pageable pageable);

    public Page<OrderItem> findOrderItemByGoodsIdAndStatusAndIsDelete(String goodsId, String status,Boolean isDelete ,Pageable pageable);

    public String toString();
}
